home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / grafica / pvrgjpeg / csize.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  2KB  |  290 lines

  1. /*************************************************************
  2. Copyright (C) 1990, 1991, 1993 Andy C. Hung, all rights reserved.
  3. PUBLIC DOMAIN LICENSE: Stanford University Portable Video Research
  4. Group. If you use this software, you agree to the following: This
  5. program package is purely experimental, and is licensed "as is".
  6. Permission is granted to use, modify, and distribute this program
  7. without charge for any purpose, provided this license/ disclaimer
  8. notice appears in the copies.  No warranty or maintenance is given,
  9. either expressed or implied.  In no event shall the author(s) be
  10. liable to you or a third party for any special, incidental,
  11. consequential, or other damages, arising out of the use or inability
  12. to use the program for any purpose (or the loss of data), even if we
  13. have been advised of such possibilities.  Any public reference or
  14. advertisement of this source code should refer to it as the Portable
  15. Video Research Group (PVRG) code, and not by any author(s) (or
  16. Stanford University) name.
  17. *************************************************************/
  18. /*
  19. ************************************************************
  20. csize.h
  21.  
  22. This file contains one array which has in by value index, the "size"
  23. of the value in bits.
  24.  
  25. ************************************************************
  26. */
  27.  
  28. #ifndef CSIZE_DONE
  29. #define CSIZE_DONE
  30.  
  31. static int csize[] = {
  32. 0,
  33. 1,
  34. 2,
  35. 2,
  36. 3,
  37. 3,
  38. 3,
  39. 3,
  40. 4,
  41. 4,
  42. 4,
  43. 4,
  44. 4,
  45. 4,
  46. 4,
  47. 4,
  48. 5,
  49. 5,
  50. 5,
  51. 5,
  52. 5,
  53. 5,
  54. 5,
  55. 5,
  56. 5,
  57. 5,
  58. 5,
  59. 5,
  60. 5,
  61. 5,
  62. 5,
  63. 5,
  64. 6,
  65. 6,
  66. 6,
  67. 6,
  68. 6,
  69. 6,
  70. 6,
  71. 6,
  72. 6,
  73. 6,
  74. 6,
  75. 6,
  76. 6,
  77. 6,
  78. 6,
  79. 6,
  80. 6,
  81. 6,
  82. 6,
  83. 6,
  84. 6,
  85. 6,
  86. 6,
  87. 6,
  88. 6,
  89. 6,
  90. 6,
  91. 6,
  92. 6,
  93. 6,
  94. 6,
  95. 6,
  96. 7,
  97. 7,
  98. 7,
  99. 7,
  100. 7,
  101. 7,
  102. 7,
  103. 7,
  104. 7,
  105. 7,
  106. 7,
  107. 7,
  108. 7,
  109. 7,
  110. 7,
  111. 7,
  112. 7,
  113. 7,
  114. 7,
  115. 7,
  116. 7,
  117. 7,
  118. 7,
  119. 7,
  120. 7,
  121. 7,
  122. 7,
  123. 7,
  124. 7,
  125. 7,
  126. 7,
  127. 7,
  128. 7,
  129. 7,
  130. 7,
  131. 7,
  132. 7,
  133. 7,
  134. 7,
  135. 7,
  136. 7,
  137. 7,
  138. 7,
  139. 7,
  140. 7,
  141. 7,
  142. 7,
  143. 7,
  144. 7,
  145. 7,
  146. 7,
  147. 7,
  148. 7,
  149. 7,
  150. 7,
  151. 7,
  152. 7,
  153. 7,
  154. 7,
  155. 7,
  156. 7,
  157. 7,
  158. 7,
  159. 7,
  160. 8,
  161. 8,
  162. 8,
  163. 8,
  164. 8,
  165. 8,
  166. 8,
  167. 8,
  168. 8,
  169. 8,
  170. 8,
  171. 8,
  172. 8,
  173. 8,
  174. 8,
  175. 8,
  176. 8,
  177. 8,
  178. 8,
  179. 8,
  180. 8,
  181. 8,
  182. 8,
  183. 8,
  184. 8,
  185. 8,
  186. 8,
  187. 8,
  188. 8,
  189. 8,
  190. 8,
  191. 8,
  192. 8,
  193. 8,
  194. 8,
  195. 8,
  196. 8,
  197. 8,
  198. 8,
  199. 8,
  200. 8,
  201. 8,
  202. 8,
  203. 8,
  204. 8,
  205. 8,
  206. 8,
  207. 8,
  208. 8,
  209. 8,
  210. 8,
  211. 8,
  212. 8,
  213. 8,
  214. 8,
  215. 8,
  216. 8,
  217. 8,
  218. 8,
  219. 8,
  220. 8,
  221. 8,
  222. 8,
  223. 8,
  224. 8,
  225. 8,
  226. 8,
  227. 8,
  228. 8,
  229. 8,
  230. 8,
  231. 8,
  232. 8,
  233. 8,
  234. 8,
  235. 8,
  236. 8,
  237. 8,
  238. 8,
  239. 8,
  240. 8,
  241. 8,
  242. 8,
  243. 8,
  244. 8,
  245. 8,
  246. 8,
  247. 8,
  248. 8,
  249. 8,
  250. 8,
  251. 8,
  252. 8,
  253. 8,
  254. 8,
  255. 8,
  256. 8,
  257. 8,
  258. 8,
  259. 8,
  260. 8,
  261. 8,
  262. 8,
  263. 8,
  264. 8,
  265. 8,
  266. 8,
  267. 8,
  268. 8,
  269. 8,
  270. 8,
  271. 8,
  272. 8,
  273. 8,
  274. 8,
  275. 8,
  276. 8,
  277. 8,
  278. 8,
  279. 8,
  280. 8,
  281. 8,
  282. 8,
  283. 8,
  284. 8,
  285. 8,
  286. 8,
  287. 8};
  288.  
  289. #endif
  290.